all: molkernel
# Which compiler
CC = gcc

# Where are include files kept
INCLUDE = .

# Options for development
# CFLAGS = -v -O3 -Wall -ansi

OBJS = main.o molproc.o svripc.o molclock.o molsystem.o molipcsvr.o ../molipc/molipc.o ../mnxipc/mnxipc.o

molkernel: $(OBJS)    
	$(CC)  $(CFLAGS) -MMD -MP -pthread -ldl  -o molkernel $(OBJS) 
	
.c.o:
	$(CC) $(CFLAGS) -c -o $@ $<

clean:
	rm molkernel  *.o
